import request from '@/utils/request.js'

export const register = (data) => {
  const res = request.post('/user/register', data)
  return res
}
export const login = (data) => {
  return request.post('/user/login', data)
}
